package Day13;

import java.util.ArrayList;

public class SStudentText {
    public static void main(String[] args) {
        ArrayList<SStudent> list = new ArrayList<>();

        SStudent s1 = new SStudent("小玉",19,"萌妹子");
        SStudent s2 = new SStudent("小周",23,"温柔");
        SStudent s3 = new SStudent("小龙",25,"可怕");

        list.add(s1);
        list.add(s2);
        list.add(s3);

        int max = Max.getMax(list);
        System.out.println(max);


    }
}
